# encoding=utf-8

from django.http import HttpResponse
from django.shortcuts import render


class Person(object):
    def __init__(self):
        pass

    def hello(request):
        return HttpResponse("Hello World!")

    def name(request):
        Person.username = '周翊'

        context = {
            'person': Person.username
        }

        context = {
            'person': {
                'username': 'zhouyi',
                'password': '123456',
            }
        }
        context = {
            'persons': [
                '张三',
                '李四',
                '王五'
            ]
        }
        return render(request, 'PlayIndex.html', context=context)


